<template>
  <div class="custom-home">
    <div class="hero-card">
      <img class="hero-logo" :src="logo" alt="北方工业大学 logo" />
      <p class="hero-title">欢迎来到北方工业大学电动车管理系统</p>
      <div class="hero-divider"></div>
      <p class="hero-meta">北方工业大学 · 智慧出行</p>
    </div>
    <div class="bg-glow bg-glow-left"></div>
    <div class="bg-glow bg-glow-right"></div>
  </div>
</template>

<script>
import logo from '@/assets/logo/北方工业大学-logo.svg'

export default {
  name: 'CustomHome',
  data() {
    return {
      logo
    }
  }
}
</script>

<style lang="scss" scoped>
.custom-home {
  position: relative;
  min-height: calc(100vh - 140px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background: linear-gradient(145deg, #e6f3ff 0%, #f6fbff 40%, #f0f7ff 100%);
  overflow: hidden;
}

.hero-card {
  position: relative;
  z-index: 1;
  width: min(520px, 90vw);
  padding: 48px 32px 56px;
  border-radius: 28px;
  text-align: center;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 40px rgba(5, 64, 134, 0.15);
  backdrop-filter: blur(8px);
}

.hero-logo {
  width: 150px;
  height: 150px;
  object-fit: contain;
  margin-bottom: 24px;
}

.hero-title {
  margin: 0 auto 18px;
  font-size: 26px;
  font-weight: 600;
  color: #0c2c52;
  line-height: 1.4;
}

.hero-divider {
  width: 120px;
  height: 4px;
  margin: 0 auto 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, #0c59bf, #1bb8ff);
}

.hero-meta {
  margin: 0;
  font-size: 16px;
  letter-spacing: 2px;
  color: #4a658b;
}

.bg-glow {
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.45;
}

.bg-glow-left {
  background: #1a73e8;
  top: 12%;
  left: 10%;
}

.bg-glow-right {
  background: #00c6ff;
  bottom: 5%;
  right: 12%;
}

@media (max-width: 768px) {
  .hero-card {
    padding: 36px 22px 40px;
  }

  .hero-title {
    font-size: 22px;
  }

  .hero-logo {
    width: 120px;
    height: 120px;
  }
}
</style>
